package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.Payout;
import com.san.hkhospital.entity.PayoutExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:PayoutMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface PayoutMapper {
    long countByExample(PayoutExample example);

    int deleteByExample(PayoutExample example);

    int deleteByPrimaryKey(Integer outId);

    int insert(Payout record);

    int insertSelective(Payout record);

    List<Payout> selectByExample(PayoutExample example);

    Payout selectByPrimaryKey(Integer outId);

    int updateByExampleSelective(@Param("record") Payout record, @Param("example") PayoutExample example);

    int updateByExample(@Param("record") Payout record, @Param("example") PayoutExample example);

    int updateByPrimaryKeySelective(Payout record);

    int updateByPrimaryKey(Payout record);

    List<Payout> searchPayOut(Map<String, String> params);
}